<li class="sf_admin_action_balance">
  <?php echo link_to(__('Generar Balance de caja', array(), 'messages'), 'caja/generarBalance', array('class'=>'example7')) ?>
</li>

	<script type="text/javascript">
		$(document).ready(function(){
			//Examples of how to assign the ColorBox event to elements
			$(".example7").colorbox({
                            width:"50%",
                            height:"80%",
                            iframe:false,
                            close: "Cerrar",
                            title: "Balance de Caja - <?php echo date('d/m/Y') ?>"
                        });

			//Example of preserving a JavaScript event for inline calls.
			//$("#click").click(function(){
			//	$('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
			//	return false;
			//});
		});
	</script>
